<template>
	<view class="withdraw-password">
		<view class="withdraw-password-tit">请输入支付密码</view>
		<validcode :maxlength="6" :isPwd="true" :focus="false" @finish="getCodeNumber" class="enter-code-box"></validcode>
		<view class="withdraw-password-forgot" @click="jump">忘记密码？</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		onLoad() {
			
		},
		methods: {
			jump(){
				uni.navigateTo({
					url: '/pages/my/forgot-withdraw-password/forgot-withdraw-password',
				})
			},
			getCodeNumber(e){
				uni.hideKeyboard()
				if(e){
					setTimeout(() => {
						uni.navigateTo({
							url: '/pages/my/withdraw-password/withdraw-password-again?password='+e
						})
					},1500)
				}
			}
		}
	}
</script>

<style lang="scss">
	.withdraw-password{
		padding: 130rpx 40rpx;
		.withdraw-password-tit{
			text-align: center;
			margin-bottom: 100rpx;
		}
		.withdraw-password-forgot{
			text-align: center;
			margin-top: 130rpx;
			color: #2073F5;
			font-size: 30rpx;
		}
	}
</style>